//
//  Header.h
//  tuanGG
//
//  Created by 微他 on 15/9/16.
//  Copyright (c) 2015年 weita. All rights reserved.
//
#import "UIColor+Hex.h"
#import "DOPDropDownMenu.h"
#import "UIImageView+WebCache.h"
#import "ValidateMobileWithEmail.h"
#import "UserInfo.h"
#import "CustomAlertView.h"
#import "PotoBaseControl.h"
#import "WJPhotoTool.h"
#ifndef tuanGG_Header_h
#define tuanGG_Header_h
//图片
#define IMGNAME(name) [UIImage imageNamed:name]
#define IMAGE(name) [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:A ofType:nil]]
//清理数据

#define HANDLELOGIN @"handlelogin"
#define HANDLETOLOGIN @"handletologin"

//颜色
#define base_gary_bg 0xf0efed
//定义比例
#define PRO ScreenWidth / 320.0
//定义字体大小
#define BOLD_FONT(size)  [UIFont boldSystemFontOfSize:(size)]
#define tabBarHeight 50
//加粗
#define font_Font @"Helvetica-Bold"
#define LABEL_TEXT_16COLOR @"595757"
//描边粗细
#define strokeHeight 0.5
//限制输入
#define NUMBERS @"0123456789."

//获取设备的物理高度
#define ScreenHeight [UIScreen mainScreen].bounds.size.height

//获取设备的物理宽度
#define ScreenWidth [UIScreen mainScreen].bounds.size.width

#define iPhone4s ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(640, 960), [[UIScreen mainScreen] currentMode].size) : NO)

#define IS_IPHONE_5 ( fabs( ( double )[ [ UIScreen mainScreen ] bounds ].size.height - ( double )568 ) < DBL_EPSILON )

#define IOS7_OR_LATER   ([[[UIDevice currentDevice] systemVersion] compare:@"7.0"] != NSOrderedAscending)


#define yyTuan_notifi_exit @"yyTuan_notifi_exit"     //退出登录
//#define baseurl_url @"http://182.139.185.134:7654"
//#define baseurl_url @"http://171.214.197.109:7654"     //主地址
//#define baseurl_url @"http://192.168.1.119:7654" //测试地址
#define baseurl_url @"http://120.26.69.252:7654" //阿里云地址
//#define baseurl_url @"http://101.204.28.167"     //主地址
//服务协议
#define agree_URL @"http://www.waitta.com/agreement.jsp"
//注册4
#define register_URL @"d/register"
//上传头像
#define upload_URL @"c/?ac=regguard&op=avatar"
//完善资料
#define perfectInfo_URL @"c2/setting/baseinfo"
//推荐用户
#define recommendUser_URL @"c2/pm/recommend"

//登录
#define login_URL @"d/login"
//帐号 信息
#define account_information_URL @"c/?ac=setting&op=accountinfo"
//上传 头像
#define uphead_URL @"c/setting/avatar"
//基本资料
#define basic_information_URL @"c/setting/basicinfo"
//学历  资料
#define education_information_URL @"c/setting/eduinfo"
//生活 资料
#define life_information_URL @"c/setting/lifeinfo"
//完善 资料
#define complete_information_URL @""



//注册
#define REGISTER_url @"/m/d/register"
//登陆
#define login_url @"/m/d/login"
//检测验证码
#define codechecked_url @"/m/d/vcode/check"
//修改密码验证
#define alterCenterPswCode @"/m/d/psw/vcode"
//修改密码
#define alteCenterPsw_url @"/m/d/psw/change"
//修改商家名称
#define alterMydataName_url @"/m/c/setmerch/merchname"
//修改商家客服电话
#define alterMydataServerNum_url @"/m/c/setmerch/helptelephone"
//修改购买须知
#define alterMyInstructions_url @"/m/c/setmerch/needtoknow"
//修改所在区域
#define address_url @"/m/c/setmerch/address"
//修改详细地址
#define detail_url @"/m/c/setmerch/detail"
//修改个人中心修改密码
#define alterMydatapsw_url @"/m/c/setpwd"
//修改绑定手机旧手机验证码
#define alterMydataPhone_url @"/m/c/setbondphone"
#define alterMydataPhoneold_url @"/m/c/setbondphone/old"
//修改店铺类型
#define goodsType @"/m/c/setmerch/type"
//修改手机号码
#define alterPhoneNum @"/m/c/setting/tel/change"
//修改店铺门面照片
#define alterMydataPoto @"/m/c/setmerch/facepic?"
//获取商家代金券列表
#define goodTypelist_url @"/m/c/catalogue"
#define goodSend_url @"/m/c/product"
#define goodCompleteInfor_url @"/m/c/product/"

//修改产品介绍图片
#define alterGoodsIm_url @"/m/c/setmerch/pics?"

//获取商品列表
#define goodsList_url @"/m/c/product"
//商品详情
#define goodDetail_url @"/m/c/product/"
//进账记录
#define incomerecode_url @"/m/c/incomerecode"
//我的账户
#define count_url @"/m/c/count"
//提现记录
#define cashrecode_url @"/m/c/count/cashrecode"
//添加银行卡
#define card_url @"/m/c/count/card"
//申请提现
#define cashask_url @"/m/c/count/cashask"
//上下架单个商品
#define goodisputway_url @"/m/c/product/setpublish"
//删除商品
#define goodDelegate_url(delegateid) [NSString stringWithFormat:@"/m/c/product/%@/delete",(delegateid)]
//验证单号
#define checkConsumeKey_url @"/m/c/checkConsumeKey"
//验证邀请码
#define checkinvitecodetoagent_url @"/m/c/checkinvitecodetoagent"
//修改商品
#define good_edit_url @"/m/c/product"

//上传头像
#define Setting_headimgae_url @"/m/c/userimg?"
//提交意见
#define submit_msg_url @"/m/c/feedback"
//购买须知 适用范围
#define applicable_url @"/m/c/setneedtoknow/applicable"
//购买须知 有效时间
#define availabletime_url @"/m/c/setneedtoknow/availabletime"
//购买须知 使用时间
#define usetime_url @"/m/c/setneedtoknow/usetime"
//购买须知 使用规则
#define role_url @"/m/c/setneedtoknow/role"

//订单管理
#define order_list_url @"/m/c/item"
//商品订单详情
#define order_id_url(orderid) [NSString stringWithFormat:@"/m/c/item/%@",(orderid)]
//商品评价详情
#define discuess_id_url(discuessID) [NSString stringWithFormat:@"/m/c/product_evaluate/%@",(discuessID)]
//客服评价列表
#define Discuess_list_url @"/m/c/product"
//tqh add
//验证订单号
#define verify_num_url @"/m/c/item"
//验证完成
#define verfy_numComplete_url(verifyid) [NSString stringWithFormat:@"/m/c/item/%@/complete",(verifyid)]
//验证订单列表
#define Verfy_list_url @"/m/c/item/compelte"

//消息提示
#define msg_list_url @"/m/c/notify"

#define deleate_msg_url @"/m/c/notify/delete"

//数据统计
#define data_url @"/m/c/data"

//版本更新
#define version_url @"/m/c/version/check"//版本更新
#define PLIST_version [[NSBundle mainBundle] pathForResource:@"Info" ofType:@"plist"]

#import "UIColor+Hex.h"
#define LABEL_TEXT_16COLOR @"595757"

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

#define USER_LOGIN_STAUS @"USER_LOGIN_STAUS"//用户登录状态，存在的话就是已经登陆
#define ORIGINAL_MAX_WIDTH 640.0f //压缩图片用的参数
#endif